import {http} from "../config.js"


//获取收货地址列表 POST /front/user/address/get/userAddressList

export const getUserAddressList = (params) =>{
	return http.post('front/user/address/get/userAddressList',params)
}

//获取地址详情	POST /front/user/address/get/userAddress

export const getUserAddressDetail = (params) =>{
	return http.post('front/user/update/tradePwd',params)
}

// 添加收货地址 POST /front/user/address/inset/userAddress

export const insetUserAddress = (params) =>{
	return http.post('front/user/address/inset/userAddress',params)
}

// 修改收货地址	POST /front/user/address/update/userAddress
export const updateUserAddress = (params) =>{
	return http.post('front/user/address/update/userAddress',params)
}

// 删除收货地址POST /front/user/address/delete/userAddress

export const deleteUserAddress = (params) =>{
	return http.post('front/user/address/delete/userAddress',params)
}